package com.mt.components.utils {
	import mx.core.FlexGlobals;
	
	/**
	 * 类名称：ConstUtils<br> 
	 * 类描述：<br>
	 * 创建人：马腾<br>
	 * 创建时间：Nov 20, 2012 11:13:25 PM<br>
	 * 修改人：马腾<br>
	 * 修改时间：Nov 20, 2012 11:13:25 PM<br>
	 */
	public class ConstUtils {
		
		/**水平间距*/
		public static var horizontalGap:int = FlexGlobals.topLevelApplication.width/20;
		
		/**程序主文件*.swf的访问路径*/
		public static var appUrl:String = FlexGlobals.topLevelApplication.url;
		private static var urlArray:Array = appUrl.split("/");
		
		/**程序访问的根路径*/
		public static var basePath:String = urlArray[0] + "/" + urlArray[1] + "/" + urlArray[2] + "/" + urlArray[3];
		
	}
}